Qus : 6 CUET PG MCA PYQ 4 Match List I with List II :
LIST I LIST II A. (x+y)' I. 1 B. x+1 II. x'+y' C. (xy)' III. x'.y' D. x+0 IV. x
Choose the correct answer from the options given below:
1 A-II, B-I, C-III, D-IV 2 A-II, B-IV, C-I, D-III 3 A-III, B-I, C-IV, D-II 4 A-III, B-I, C-II, D-IV Go to Discussion CUET PG MCA Previous Year PYQ CUET PG MCA CUET 2022 PYQ
Solution Qus : 8 CUET PG MCA PYQ 2 Mach the List - 1 with List - II
List - I
List - II
(A)Asynchronous
(I) A pulse that cause a logic device to be activated or change state
(B)Trigger
(II) The operation is not executed in step with the clock
(C) J-K Flip flop
(III) Flip flop and atleast set, reset toggle and hold modes of operation
(D) D Flip flop
(IV) Flip flop with atleast set and rest modes of operations.
Choose the correct answer from the options given below:
1 [(A-I); (B-II); (C-III); (D-IV)] 2 [(A-II); (B-I); (C-III); (D-IV)] 3 [(A-III); (B-IV); (C-II); (D-I)] 4 [(A-I); (B-II); (C-IV); (D-III)] Go to Discussion CUET PG MCA Previous Year PYQ CUET PG MCA CUET 2024 PYQ
Solution Qus : 9 CUET PG MCA PYQ 2 Consider a system with 1K pages and 512 frames and each page is of size 2 KB. How many bits are required to represent the virtual address space memory:
1 20 bits 2 21 bits 3 11 bits 4 16 bits Go to Discussion CUET PG MCA Previous Year PYQ CUET PG MCA CUET 2024 PYQ Solution To determine the number of bits required to represent the virtual address space:
Number of pages = 1K = $2^10$. Page size = 2 KB = $2^{11}$ bytes. Virtual address space = Number of pages × Page size = $2^{10}×2^{11}=2^{21}$ bytes. Bits required =21 bits. Qus : 11 CUET PG MCA PYQ 2 How does the number of page frames affect and number of page faults for a given memory access pattern in FIFO page replacement algorithm?
1 Increasing the number of page frames decreases the number of page faults. 2
Increasing the number of page frames may increase or decrease the number of page faults depending on the memory access pattern.
3
Increasing the number of page frames always increases the number of page faults
4
Increasing the number of page frames has no effect on the number of page faults
Go to Discussion CUET PG MCA Previous Year PYQ CUET PG MCA CUET 2024 PYQ
Solution Qus : 12 CUET PG MCA PYQ 1
Arrange the following in increasing order of their per unit cost.
(A) DRAM
(B) Magnetic disk
(C) Optical disk
(D) SRAM
(E) Magnetic tape
Choose the correct answer from the options given below:
1
E, C, B, A, D
2
E, C, B, D, A
3 C, B, E, D, A 4
C, B, D, E, A
Go to Discussion CUET PG MCA Previous Year PYQ CUET PG MCA CUET 2024 PYQ
Solution Qus : 13 CUET PG MCA PYQ 4
Match List – I with List – II
List - I List - II (A) Flash Memory (I) Oldest and Slowest (B) PMOS (II) Used in large scale integration (LSI) (C) NMOS (III) Least power consumption (D) CMOS (IV) Non volatile RAM which is powered continuously
Choose the correct answer from the options given below:
1
(A – I); (B – IV); (C – III); (D – II)
2
(A – I); (B – IV); (C – II); (D – III)
3
(A – IV); (B – I); (C – III); (D – II)
4
(A – IV); (B – I); (C – II); (D – III)
Go to Discussion CUET PG MCA Previous Year PYQ CUET PG MCA CUET 2024 PYQ Solution Flash Memory (A) :
PMOS (B) :
NMOS (C) :
CMOS (D) :
Qus : 20 CUET PG MCA PYQ 4
Arrange the following in the increasing order of their asympotic complexities:
(A) Insertion sort (best case)
(B) Bubble sort (worst case)
(C) Binary Search (worst case)
(D) Merge sort (worst case)
1 A, C, B, D 2 D, A, C, B 3 A, B, C, D 4 C, A, D, B Go to Discussion CUET PG MCA Previous Year PYQ CUET PG MCA CUET 2024 PYQ
Solution Qus : 22 CUET PG MCA PYQ 2
We can say that a schedule is conflict serializable?
(1) If a schedule T can be transformed into a serial schedule U by a series of swaps of conflicting operations.
(2) If a schedule T can be transformed into a serial schedule U by a series of swaps of nonconflicting operations.
(3) If a schedule T can be transformed into a non serial schedule U by a series of swaps of conflicting operations.
(4) If a schedule T can be transformed into a non serial schedule U by a series of swaps of non conflicting operations.
1 (1) 2 (2) 3 (3) 4 (4)
Go to Discussion CUET PG MCA Previous Year PYQ CUET PG MCA CUET 2024 PYQ
Solution Qus : 23 CUET PG MCA PYQ 2
The following integers are needed to be stored in ascending order using bubble sort.
5, 8, 22, 18, 1
Following are the results of various passes during the sorting process.
1
5, 1, 8, 18, 22
2
1, 5, 8, 18, 22
3
5, 8, 18, 1, 22
4
5, 8, 1, 18, 22
Go to Discussion CUET PG MCA Previous Year PYQ CUET PG MCA CUET 2024 PYQ
Solution Qus : 26 CUET PG MCA PYQ 4
What are the ways to implement a priority Queue?
(A) Arrays
(B) Fibonacci tree
(C) Heap Data Structure
(D) Linked list
Choose the correct answer from the options given below:
1
(A), (B) and (D) only
2
(B), (C) and (D) only
3
(A), (B), (C) and (D)
4
(A), (C) and (D) only
Go to Discussion CUET PG MCA Previous Year PYQ CUET PG MCA CUET 2024 PYQ Solution
Ways to Implement a Priority Queue
The correct answer is:
(A) Arrays, (C) Heap Data Structure, and (D) Linked List
Explanation:
Arrays:
Unsorted Array: Insertion is O(1)
, Deletion is O(n)
.
Sorted Array: Insertion is O(n)
, Deletion is O(1)
.
Heap Data Structure:
Binary heaps are commonly used for efficient implementation.
Insertion and Deletion take O(log n)
time.
Linked List:
Can be implemented as sorted or unsorted.
Efficiency depends on the choice of implementation.
Why not Fibonacci Tree?
Fibonacci trees are not used directly for priority queues. However, Fibonacci heaps (a separate data structure) can implement priority queues efficiently.
Qus : 27 CUET PG MCA PYQ 3
An operating system cotains 4 user processor each requiring 5 units of resource R. The minimum number ofrequired units of R such that no deadlock will every occur is
1 20 2 4 3 17 4 15 Go to Discussion CUET PG MCA Previous Year PYQ CUET PG MCA CUET 2024 PYQ Solution Minimum Number of Required Units of Resource R to Prevent Deadlock Number of processes (P) = 4 Maximum demand per process = 5 units Formula: R≥(P−1)×max demand+1 Substituting values: R≥(4−1)×5+1=3×5+1=15+1=16 Minimum required units of resource R = 16
Qus : 28 CUET PG MCA PYQ 4 Given below are two statements:
Statement I: 011010 is 2's complement representation of -37.
Statement II: 111(8) is octal representation of 73.
In the light of the above statements, choose the most appropriate answer from the
options given below :
1 Both Statement I and Statement II are true 2 Both Statement I and Statement II are false. 3 Statement I is true but Statement II is false. 4 Statement I is false but Statement II is true. Go to Discussion CUET PG MCA Previous Year PYQ CUET PG MCA CUET 2022 PYQ
Solution Qus : 29 CUET PG MCA PYQ 2
The current allocation and Maximum requirement of different types of resources for four processes are given below:
Consider the following four statements.
(A) P2 → P4 → P1 → P3 is a safe sequence
(B)
P4 → P2 → P1 → P3 is a safe sequence
(C)
P4 → P2 → P3 → P1 is a safe sequence
(D) P1 → P4 → P2 → P3 is a safe sequence
Identify correct statements from the given options.
1
(A), (B) and (D) only
2
(A), (B) and (C) only
3
(B), (C) and (D) only
4
(A), (B), (C), (D)
Go to Discussion CUET PG MCA Previous Year PYQ CUET PG MCA CUET 2024 PYQ Solution
Banker's Algorithm Solution
Step 1: Need Matrix
The Need Matrix is calculated as:
Need = Max - Allocation
Process R1 R2 R3
P1 4 5 2
P2 1 0 1
P3 6 0 0
P4 0 1 0
Step 2: Initial Available Resources
The Available resources at the start are:
Step 3: Evaluate Each Sequence
Sequence (A): P2 → P4 → P1 → P3
P2: Need = [1, 0, 1], Available = [4, 4, 5]. Allocate resources. New Available = [7, 5, 7].
P4: Need = [0, 1, 0], Available = [7, 5, 7]. Allocate resources. New Available = [10, 7, 9].
P1: Need = [4, 5, 2], Available = [10, 7, 9]. Allocate resources. New Available = [14, 8, 11].
P3: Need = [6, 0, 0], Available = [14, 8, 11]. Allocate resources. New Available = [17, 12, 14].
Result: Sequence (A) is valid.
Sequence (B): P2 → P1 → P3 → P4
P2: Need = [1, 0, 1], Available = [4, 4, 5]. Allocate resources. New Available = [7, 5, 7].
P1: Need = [4, 5, 2], Available = [7, 5, 7]. Allocate resources. New Available = [11, 6, 9].
P3: Need = [6, 0, 0], Available = [11, 6, 9]. Allocate resources. New Available = [14, 10, 12].
P4: Need = [0, 1, 0], Available = [14, 10, 12]. Allocate resources. New Available = [17, 12, 14].
Result: Sequence (B) is valid.
Sequence (C): P4 → P2 → P3 → P1
P4: Need = [0, 1, 0], Available = [4, 4, 5]. Allocate resources. New Available = [7, 6, 7].
P2: Need = [1, 0, 1], Available = [7, 6, 7]. Allocate resources. New Available = [10, 7, 9].
P3: Need = [6, 0, 0], Available = [10, 7, 9]. Allocate resources. New Available = [14, 8, 11].
P1: Need = [4, 5, 2], Available = [14, 8, 11]. Allocate resources. New Available = [17, 12, 14].
Result: Sequence (C) is valid.
Sequence (D): P1 → P4 → P2 → P3
P1: Need = [4, 5, 2], Available = [4, 4, 5]. Cannot proceed as Need > Available.
Result: Sequence (D) is invalid.
Final Answer:
Safe Sequences: (A), (B), (C)
Invalid Sequence: (D)
Qus : 30 CUET PG MCA PYQ 1 Given below are two statements: one is labelled as Assertion A and the other is
labelled as Reason R.
Assertion A : Binary information is represented in digital in terms of 'zeros' and
'ones.
Reason R : Digital computers are electronic devices, which operate using
electrical voltages.
In the light of the above statements, choose the most appropriate answer from the
options given below:
1 Both A and R are correct and R is the correct explanation of A. 2 Both A and R are correct but R is not the correct explanation of A. 3 A is correct but R is not correct. 4 A is not correct but R is correct. Go to Discussion CUET PG MCA Previous Year PYQ CUET PG MCA CUET 2022 PYQ
Solution Qus : 31 CUET PG MCA PYQ 1
Match List – I with List – II
List - I (Algorithms) List - II (Complexity) (A) Bellman - Ford algorithm (with adjacencylist representation)
(I) $O(|V|^2)$ (B)
Dijkstra Algorithm
(II) O((V+E) logV) (C)
Prim’s Algorithm
(III) O(mn) (D)
Topological sorting (with adjacency list representation)
(IV) O(m+n)
Choose the correct answer from the options given below:
1
(A – III); (B – I); (C – II); (D – IV)
2
(A – II); (B – IV); (C – III); (D – I)
3
(A – III); (B – IV); (C – I); (D – II)
4
(A – II); (B – I); (C – III); (D – IV)
Go to Discussion CUET PG MCA Previous Year PYQ CUET PG MCA CUET 2024 PYQ
Solution Qus : 36 CUET PG MCA PYQ 1 In a processor, while executing an instruction
A. Programme Counter is used to hold the address of next instruction.
B. Instruction register holds the instruction for execution.
C. Memory Address Register is used to perform address translation.
D. Memory Data Register is used to perform data operation
E. Clock generates control signals.
Choose the correct answer from the options given below:
1 Only A and B are true 2 Only C and D are true 3 Only A, B and E are true 4 Only B, C, and D are true Go to Discussion CUET PG MCA Previous Year PYQ CUET PG MCA CUET 2022 PYQ
Solution Qus : 38 CUET PG MCA PYQ 1
Match List – I with List – II
List - I List - II (A) Critical Region (I) Circular Wait (B) Working Set (II) Condition variable (C) Deadlock (III) Principle of locality (D) Wait/Signal (IV) Mutual Exclusion
Choose the correct answer from the options given below:
1
(A – IV); (B – III); (C – I); (D – II)
2
(A – IV); (B – III); (C – II); (D – I)
3
(A – III); (B – IV); (C – II); (D – I)
4
(A – III); (B – IV); (C – I); (D – II)
Go to Discussion CUET PG MCA Previous Year PYQ CUET PG MCA CUET 2024 PYQ Solution
Matching List-I with List-II:
List - I
List - II
Explanation
Critical Region
Mutual Exclusion (IV)
The critical region ensures mutual exclusion, allowing only one process to access a shared resource at a time.
Working Set
Principle of Locality (III)
The working set is a concept used in memory management, based on the principle of locality to predict the set of pages a process is likely to use.
Deadlock
Circular Wait (I)
One of the necessary conditions for a deadlock is circular wait, where processes are waiting for resources held by one another in a circular chain.
Wait/Signal
Condition Variable (II)
The wait and signal operations are synchronization mechanisms associated with condition variables in multi-threaded environments.
Final Answer:
(A) → (IV), (B) → (III), (C) → (I), (D) → (II)
[{"qus_id":"11322","year":"2022"},{"qus_id":"11324","year":"2022"},{"qus_id":"11327","year":"2022"},{"qus_id":"11328","year":"2022"},{"qus_id":"11329","year":"2022"},{"qus_id":"11330","year":"2022"},{"qus_id":"11471","year":"2022"},{"qus_id":"11472","year":"2022"},{"qus_id":"11475","year":"2022"},{"qus_id":"11479","year":"2022"},{"qus_id":"11490","year":"2022"},{"qus_id":"11672","year":"2024"},{"qus_id":"11676","year":"2024"},{"qus_id":"11677","year":"2024"},{"qus_id":"11679","year":"2024"},{"qus_id":"11680","year":"2024"},{"qus_id":"11681","year":"2024"},{"qus_id":"11684","year":"2024"},{"qus_id":"11690","year":"2024"},{"qus_id":"11692","year":"2024"},{"qus_id":"11697","year":"2024"},{"qus_id":"11698","year":"2024"},{"qus_id":"11700","year":"2024"},{"qus_id":"11701","year":"2024"},{"qus_id":"11710","year":"2024"},{"qus_id":"11716","year":"2024"},{"qus_id":"11718","year":"2024"},{"qus_id":"11720","year":"2024"},{"qus_id":"11721","year":"2024"},{"qus_id":"11724","year":"2024"},{"qus_id":"11725","year":"2024"},{"qus_id":"11726","year":"2024"},{"qus_id":"11727","year":"2024"},{"qus_id":"11729","year":"2024"},{"qus_id":"11732","year":"2024"},{"qus_id":"11733","year":"2024"},{"qus_id":"11734","year":"2024"},{"qus_id":"11736","year":"2024"},{"qus_id":"11739","year":"2024"},{"qus_id":"11740","year":"2024"},{"qus_id":"11745","year":"2024"}]